package com.hw.blog.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hw.blog.persistence.PmgrFaqMapper;

@Service
public class PmgrFaqService {

	@Autowired
	public PmgrFaqMapper mapper;
	

	public List faqList(Map vo) throws Exception {
		return mapper.faqList(vo);
	}
	public int faqListCnt(Map vo) throws Exception {
		return mapper.faqListCnt(vo);
	}
	
	
	public Map faqEdit(Map vo) throws Exception {
		return mapper.faqEdit(vo);
	}

	public int updateFaq(Map vo) throws Exception {
		return mapper.updateFaq(vo);
	}
	public int insertFaq(Map vo) throws Exception {
		return mapper.insertFaq(vo);
	}
	
	public int deleteProcess(Map vo) throws Exception {
		return mapper.deleteFaq(vo);
	}
	
	
//	
//	public int getMenuSeq() throws Exception {
//		return mapper.getMenuSeq();
//	}
//
//	public int insertMenu(Map map) throws Exception {
//		return mapper.insertMenu(map);
//	}
//
//	public int backupMenu(Map map) throws Exception {
//		return mapper.backupMenu(map);
//	}
//	
//	public int deleteMenu() throws Exception {
//		return mapper.deleteMenu();
//	}
//	
//	public String existsTable(Map map) throws Exception {
//		return mapper.existsTable(map);
//	
//	}
//	
//	public void runStatement(Map map){
//		mapper.runStatement(map);
//	}


}
